﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="add.aspx.cs" Inherits="Partners_add" %>

<%--<%@ Register src="NewsTypeSelect.ascx" tagname="NewsTypeSelect" tagprefix="uc1" %>--%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>
    <link href="../../css/style.css" rel="stylesheet" type="text/css" />
    <link href="../../css/jquery.autocomplete.css" rel="stylesheet" type="text/css" />
    <link href="../../css/jquery-ui-1.7.3.custom.css" rel="Stylesheet" type="text/css" />
    <script type="text/javascript" src="../../edit/jquery/jquery-1.4.2.min.js"></script>
    <script type="text/javascript" src="../../edit/xheditor-zh-cn.src.js"></script>
    <script src="../../js/jquery.autocomplete.js"  type="text/javascript" language="javascript" ></script>
    <script src="../../js/StockSearchData.js" language="javascript" type="text/javascript"></script>
    <script src="../../js/jquery-ui-1.7.3.custom.min.js" language="javascript" type="text/javascript"></script>
     <script type="text/javascript" defer="defer" src="../../My97DatePicker/WdatePicker.js"></script>
         
</head>
<body>
    <form id="form1" runat="server">   
    <div class="button_bar">
	     <asp:Button ID="btnBack" CssClass="common_button" Text="返回" runat="server" 
             onclick="btnBack_Click" ValidationGroup="22" />
        <asp:Button ID="btnSave" CssClass="common_button" runat="server" Text="保存" 
            onclick="btnSave_Click"   />
    </div>
    <div>
    <table class="query_form_table">        
      <tr>
            <th>
                伙伴全称
            <span style="color:Red">*</span></th>
            <td >
                <asp:TextBox ID="txtTitle" runat="server" Width="265px" MaxLength="198" />
                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                    ControlToValidate="txtTitle" Display="Dynamic" ErrorMessage="不能为空" ForeColor="Red"></asp:RequiredFieldValidator>
            </td>
            <th>
                类别
            </th>
            <td>
                <asp:DropDownList ID="ddlPid" runat="server">
                </asp:DropDownList>
                <%--<asp:TextBox ID="txtAdr" runat="server" Width="382px"  MaxLength="198" />--%>
            </td>
        </tr>
	    <tr>
            <th>Logo</th>
            <td >
                <asp:Image ID="Image1" runat="server" />
                <asp:FileUpload ID="FileUpload1" runat="server" />
            </td>
            <th>发布时间</th>
            <td><asp:TextBox ID="txtTime" runat="server" onfocus="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm'})" /></td>     
        </tr>                
        <tr>
            <th>
                联系电话
           </th>
           <td>
              <asp:TextBox ID="txtPhone" runat="server"  Width="265px"  MaxLength="98"  />
           </td>
            <th>是否启用</th>
            <td >
                <asp:RadioButton ID="rdoEnableYes" runat="server" value="1" Text="是" Checked="true" 
                     GroupName="aa"  />
                <asp:RadioButton ID="rdoEnableNo" runat="server"  Text="否" value="0"  
                    GroupName="aa" />
              
            </td> 
                    
        </tr>
        <tr>
        <th>排序</th>
           <td>
                <asp:TextBox ID="txtPX" runat="server" Width="265px"  MaxLength="5" />
           </td>          
           <th>邮箱地址</th>
           <td >
                <asp:TextBox ID="txtEMail" runat="server" Width="265px"  MaxLength="198" />
           </td>
                 
        <tr>
            <th>外部链接</th>
            <td colspan="3">
                  <asp:TextBox ID="txtOutsideUrl" runat="server" Width="382px"  MaxLength="198" />
            </td>
        </tr>           
        <tr>
            <th>介绍</th>
            <td colspan="3">
                 <asp:TextBox ID="txtContent" runat="server" Width="80%" Height="300px" TextMode="MultiLine"  MaxLength="4999" />
                <%-- <br />
                 <input type="button" id="btnClearUrl" value="文本换行" />--%>
                 <%--<asp:Button ID="btnClearUrl" runat="server" Text="文本换行" />--%>
            </td>
        </tr>
    </table>
    </div>
     <div class="button_bar">
        <asp:Button ID="btnBack1" CssClass="common_button" Text="返回" runat="server" 
             onclick="btnBack_Click" ValidationGroup="22" />
        <asp:Button ID="Button2" CssClass="common_button" runat="server" Text="保存" 
            onclick="btnSave_Click"   />
    </div>
    </form>
</body>
</html>
